import { Color, Vector3 } from "../util";
import { Component } from "./Component";

export class Model extends Component {
    /**
    * 基础属性
    */
    //Model类型
    public type = 6
    public uid = "985b5f12-31c9-4165-b12a-119c2c97f930"
    //名称
    public name = "model_2"


    //模型文件
    public model: ["editor_model", number]
    //默认动作
    public idle_anim: string
    //背景颜色
    public background_color: Color
    //镜头模式 0,1,2
    public camera_mode: number
    //相机坐标x,y,z
    public camera_pos: Vector3
    //相机视口
    public camera_viewport: number
    //模型旋转 默认0,0,0
    public angle: Vector3
    //焦点坐标 默认0,0,0
    public focus_pos: Vector3
}